import request from '@/utils/request'

export default {
    list(data) {
	  return request({
	    url: "/WebPage/getList" ,
	    method: 'post',
		data:data
	  })
	},
	getById(data) {
	  return request({
	    url: "/WebPage/getById" ,
	    method: 'post',
		data:data
	  })
	},
	getByDate(data){
		return request({
		    url: "/WebPage/composingShow" ,
		    method: 'post',
			data:data
		})
	},
	addData(data){
		return request({
		    url: "/WebPage/addData" ,
		    method: 'post',
			data:data
		})
	},
	edit(data) {
	  return request({
	    url: "/WebPage/edit" ,
	    method: 'post',
		data:data
	  })
	},
	add(data) {
	  return request({
	    url: "/WebPage/add" ,
	    method: 'post',
		data:data
	  })
	},
	delete(data) {
	  return request({
	    url: "/WebPage/delete" ,
	    method: 'post',
		data:data
	  })
	},
}

